Blitz (24/213)

From:Rob Hutchinson
Date:1 May 2000 at 04:21:50
Subject:Re: Rob's TCP/IP Lib problem

> For some, unknown, reason...Rob's TCP/IP lib has started behaving a little
> strangly. And not just in the program I made, it's happening in the
> examples as well...even after I reinstalled the lib!

Oh god... BUGZ.. :(

> What happens, is if connecting to a remote host (eg. 194.46.20.130, my
> machine in work) it works fine. However, if I try to connect to localhost
> (127.0.0.1) the TCPConnectSocket command automatically returns a "-4" no
> matter what I do. If I ignore the -4 and carry on, it works fine (as it
> has actually connected), but that means if someone types in an IP address
> that *doesn't* exist....it crashs with a "GURU 1111 emulator" error.
>
> Any ideas? Anyone?

Have you tried connecting to your REAL IP?
Cos the easy way to get around this would be to check if the user enters
127.0.0.1 or LOCALHOST and then get the real ip with TCPGetOwnHostID()
or whatever its called :)... Provided it works with your IP?

I`ll probably update it soon with the accept, bind, etc highlevel commands
soon.
Maybe. :)

How many of you are using this library?



Rob.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie